package com.breadenglish.cms.api.app.gateway.service;

import com.breadenglish.cms.api.app.gateway.model.WordOfTheDay;

import java.util.List;

/**
 * Created by lixuegang on 2016/1/8.
 */
public interface WordOfDayService {

    /**
     * 查询 WordOfTheDay 列表
     *
     * @return
     * @throws Throwable
     */
     List<WordOfTheDay> queryWordOfTheDay() throws Throwable;

    /**
     * 根据Id查询 WordOfTheDay
     *
     * @param id
     * @return
     * @throws Throwable
     */
     WordOfTheDay queryWordOfTheDayById(Long id) throws Throwable;
}
